package com.elder.business.mapper;

import java.util.List;
import com.elder.business.domain.ElderHealthCheckup;
import org.apache.ibatis.annotations.Param;

/**
 * 老人健康体检Mapper接口
 * 
 * @author zyk
 * @date 2023-11-26
 */
public interface ElderHealthCheckupMapper 
{
    /**
     * 查询老人健康体检
     * 
     * @param id 老人健康体检主键
     * @return 老人健康体检
     */
    public ElderHealthCheckup selectElderHealthCheckupById(Long id);

    /**
     * 查询老人健康体检列表
     *
     * @return 老人健康体检集合
     */
    public List<ElderHealthCheckup> selectElderHealthCheckupList(@Param("elderIds") List<Long> elderIds , @Param("startTime") Long startTime ,@Param("endTime") Long endTime );

    /**
     * 新增老人健康体检
     * 
     * @param elderHealthCheckup 老人健康体检
     * @return 结果
     */
    public int insertElderHealthCheckup(ElderHealthCheckup elderHealthCheckup);

    /**
     * 修改老人健康体检
     * 
     * @param elderHealthCheckup 老人健康体检
     * @return 结果
     */
    public int updateElderHealthCheckup(ElderHealthCheckup elderHealthCheckup);

    /**
     * 删除老人健康体检
     * 
     * @param id 老人健康体检主键
     * @return 结果
     */
    public int deleteElderHealthCheckupById(Long id);

    /**
     * 批量删除老人健康体检
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElderHealthCheckupByIds(Long[] ids);
}
